-- GENERATED SPELL FOR [Silver Hand Disciple] --


function spell0_10949(pUnit, Event) --@Crusader Strike,n/a--
pUnit:FullCastSpellOnTarget(14518,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10949', 30344, 1)
end

function spell1_10949(pUnit, Event) --@Holy Light,Heal--
pUnit:FullCastSpellOnTarget(15493,pUnit)
pUnit:RegisterEvent('Sorts_10949', 2500, 1)
end

function Sorts_10949(pUnit, Event)
local choix_sorts_10949 = math.random(0, 1)
if choix_sorts_10949 == 0 then
pUnit:RegisterEvent('spell0_10949', 1, 1)
end
if choix_sorts_10949 == 1 then
pUnit:RegisterEvent('spell1_10949', 1, 1)
end
end

function mob10949_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10949', math.random(1500, 3000), 1)
end

function mob10949_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10949_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10949_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10949, 1, 'mob10949_Action')
RegisterUnitEvent(10949, 2, 'mob10949_Leave')
RegisterUnitEvent(10949, 3, 'mob10949_Kill')
RegisterUnitEvent(10949, 4, 'mob10949_Die')
